POV-Ray : Newsgroups : povray.beta-test : crash with parametric object : crash with parametric object Server Time
29 Jul 2024 18:27:39 EDT (-0400)
  crash with parametric object  
From:
Date: 26 Mar 2002 10:17:53
Message: <cu31auko3a0g3gnqgjb5t8uog4tj8id65q@4ax.com>
POV 3.5 b 14 icl on WinNT Sp 6 PII 233 with 128 MB

Below code causes violation exception. It works fine when Center_Object macro
isn't used. Any confirmation ?

#include "shapes"

#local Surface=parametric{
  function{u}
  function{(sin(u*v))^2}
  function{v}
  <0,0>,<2*pi,2*pi>
  contained_by{box{<0,0,0><2*pi,1,2*pi>}}
  max_gradient 2
  pigment {rgb 1}
};

Center_Object(Surface,1)

camera {
  location <0.0,0.5,-4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}

light_source{100*y,1}

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.